package com.lungle.warmdiary.app.model.response;

import com.lungle.warmdiary.app.AppException;
import com.lungle.warmdiary.app.model.Entity;
import com.lungle.warmdiary.app.model.ListEntity;

import java.io.IOException;
import java.io.InputStream;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by God on 2016/8/8.
 */
public class WithdrawRecordList extends Entity implements ListEntity {
    private List<WithdrawRecoder> data = new ArrayList<>();
    private int total;

    public static WithdrawRecordList parse(InputStream inputStream) throws IOException,
            AppException {
        WithdrawRecordList recordList = new WithdrawRecordList();


        return recordList;
    }

    public List<WithdrawRecoder> getData() {
        return data;
    }

    public void setData(List<WithdrawRecoder> data) {
        this.data = data;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    @Override
    public List<?> getList() {
        return data;
    }
}
